<template>
  <div>
    <van-nav-bar title="关注列表" left-arrow @click-left="onClickLeft" />
    <van-search v-model="value" placeholder="请输入搜索关键词" />
    <div class="sanceng">
      <div class="santu"><img src="/company/shenghuojia.png" alt="" /></div>
      <div class="sanwen">
        <h4>生活家居</h4>
        <span>粉丝:1265</span>
      </div>
      <button class="btn">已关注</button>
    </div>
    <div class="sanceng">
      <div class="santu"><img src="/company/shenghuojia.png" alt="" /></div>
      <div class="sanwen">
        <h4>生活家居</h4>
        <span>粉丝:1265</span>
      </div>
      <button class="btn">已关注</button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: "",
    };
  },
  methods: {
    onClickLeft() {
      this.$router.back();
    },
  },
};
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
}
.sanceng {
  width: 100%;
  margin-top: 10px;
  display: flex;
  // background-color: red;
}
.sanceng img {
  width: 50px;
  border-radius: 50%;
  margin: 0 10px;
}
.sanwen{
  margin-left: 10px;
}
.sanwen span {
  font-size: 14px;
}
.btn {
  box-sizing: border-box;
  width: 80px;
  height: 30px;
  border: 1px solid #eeeeee;
  border-radius: 50px;
  margin-left: 140px;
  margin-top: 5px;

}
</style>
